package team.newexcellence.tsfitness.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import team.newexcellence.tsfitness.service.FoodService;


@Controller
@RequestMapping("/food")
public class FoodController {
    @Autowired
    private FoodService foodService;

    public FoodService getFoodService() {
        return foodService;
    }

    public void setFoodService(FoodService foodService) {
        this.foodService = foodService;
    }
    @RequestMapping("/findAllFood")
    public String fingAllFood(){
        return null;
    }
    @RequestMapping("/lookMyRecipes")
    public String lookMyRecipes(int userID) {
        return null;
    }
    @RequestMapping("/findByNutrition")
    public String findFoodByNutrition(String nutrition) {
        return null;
    }
    @RequestMapping("/findNutritionByFoodName")
    public String findNutritionByFoodName(String foodName) {
        return null;
    }
    @RequestMapping("/addFoodToRecipes")
    public String addFoodToRecipes(int foodID, int userID) {
        return null;
    }
}
